<html>
    <head>
        <title>WineXpress.com</title>
        <meta name="layout" content="main" />
        
    </head>
    <body>
        <div id="pageBody">
            <h1>Edit Account Information</h1>
    
            <g:form name="editMemberForm" controller="customerManagement" action="updateMemberDetails">

              <h4>Account Details</h4>
              User Name: ${customer.username}<br/>
              E-mail: ${customer.email}<br/>
              Password: <input type="text" name="password"/><br/>
              New Password: <input type="text" name="newpassword"/><br/>
              Confirm Password: <input type="text" name="confirmpassword"/><br/>
              
              <br/>

              <h4>Personal Details</h4>
              Name: ${customer.lastName}&nbsp;${customer.firstName}<br/>
              Birthdate: ${birthdate}<br/> 
              
              <br/>

              <h4>Contact Details</h4>
              Blk/House No.: <input type="text" name="blkHouseNo" value="${customer.blkHouseNo}"/><br/>
              Street Name: <input type="text" name="streetName" value="${customer.streetName}"/><br/>
              Unit No: <input type="text" name="unitNo" value="${customer.unitNo}"/><br/>
              Country: <g:select name="country" from="${countries.countryName}"/><br/>
              Postal Code: <input type="text" name="postalCode" value="${customer.postalCode}"/><br/>

              Tel No.: <input type="text" name="telNo" value="${customer.telNo}"/><br/>
              
              <br/>

              <input type="submit" value="Update"/>

            </g:form>
            
        </div>
    </body>
</html>
